import MoocHotlistsAnchor from '../hotlistsAnchor/HotlistsAnchor.vue'
import MoocHotlistsAnchorAdd from '../hotlistsAnchor/HotlistsAnchorAdd.vue'
import MoocHotlistsAnchorEdit from '../hotlistsAnchor/HotlistsAnchorEdit.vue'
import MoocHotlistsAnchorSearch from '../hotlistsAnchor/HotlistsAnchorSearch.vue'
import MoocHotlistsAnchorView from '../hotlistsAnchor/HotlistsAnchorView.vue'

const components = [
  MoocHotlistsAnchor,
  MoocHotlistsAnchorAdd,
  MoocHotlistsAnchorEdit,
  MoocHotlistsAnchorSearch,
  MoocHotlistsAnchorView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
